====== getAnswerMissing() ======

''boolean **getAnswerMissing**()''

The function ''getAnswerMissing()'' can be used to determine whether a page is repeatedly displayed because a response was missing, __or__ because the specified format was not adhered to. This function can be used, for example, to display additional information.

**Tip:** If you run a [[:en:create:checks#customized_response_check|customized response check]], input a text element ID in the command ''[[:en:create:functions:repeatpage|repeatPage]]'' to show this as an error message.  



===== Example =====

The following PHP code displays the text element "infoAB01" if the page is redisplayed due to a missing or incorrect response (e.g. in question AB01).

<code php>
if (getAnswerMissing()) {
  text('infoAB01');
}
question('AB01');
</code>